package com.ruoyi.project.channel.userLevelConfig.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 会员等级表 user_level_config
 * 
 * @author CAIN
 * @date 2021-02-03
 */
public class UserLevelConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 等级id */
	private Integer levelId;
	/** 等级名称 */
	private String levelName;
	/** 升级所需下线 */
	private Long needCount;
	/** 刷单佣金比例 */
	private BigDecimal commissionPercent;
	/** 每天最大佣金比例 */
	private BigDecimal commissionPercentDay;
	/** 每天最大抢单数 */
	private Integer billCoutDay;
	/** 每天金额比例 */
	private BigDecimal grabbingPercent;
	/** 升级所需余额 */
	private BigDecimal needBalance;
	/** 提现手续费 */
	private BigDecimal cashOutFee;
	/** 平台名称 */
	private String platformName;
	/** 状态（0正常 1停用） */
	private String useStatus;
	/** 图片url */
	private String url;
	/** 每单金额 */
	private BigDecimal perAmount;
	/** 每天可做任务数 */
	private Integer taskNum;
	/** 有效期 */
	private Integer validityDay;

	public UserLevelConfig() {
	}

	public void setLevelId(Integer levelId) 
	{
		this.levelId = levelId;
	}

	public Integer getLevelId() 
	{
		return levelId;
	}
	public void setLevelName(String levelName) 
	{
		this.levelName = levelName;
	}

	public String getLevelName() 
	{
		return levelName;
	}
	public void setNeedCount(Long needCount) 
	{
		this.needCount = needCount;
	}

	public Long getNeedCount() 
	{
		return needCount;
	}
	public void setCommissionPercent(BigDecimal commissionPercent) 
	{
		this.commissionPercent = commissionPercent;
	}

	public BigDecimal getCommissionPercent() 
	{
		return commissionPercent;
	}
	public void setCommissionPercentDay(BigDecimal commissionPercentDay) 
	{
		this.commissionPercentDay = commissionPercentDay;
	}

	public BigDecimal getCommissionPercentDay() 
	{
		return commissionPercentDay;
	}
	public void setBillCoutDay(Integer billCoutDay) 
	{
		this.billCoutDay = billCoutDay;
	}

	public Integer getBillCoutDay() 
	{
		return billCoutDay;
	}
	public void setNeedBalance(BigDecimal needBalance) 
	{
		this.needBalance = needBalance;
	}

	public BigDecimal getNeedBalance()
	{
		return needBalance;
	}
	public void setCashOutFee(BigDecimal cashOutFee) 
	{
		this.cashOutFee = cashOutFee;
	}

	public BigDecimal getCashOutFee() 
	{
		return cashOutFee;
	}
	public void setPlatformName(String platformName) 
	{
		this.platformName = platformName;
	}

	public String getPlatformName() 
	{
		return platformName;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setPerAmount(BigDecimal perAmount) 
	{
		this.perAmount = perAmount;
	}

	public BigDecimal getPerAmount() 
	{
		return perAmount;
	}
	public void setTaskNum(Integer taskNum) 
	{
		this.taskNum = taskNum;
	}

	public Integer getTaskNum() 
	{
		return taskNum;
	}
	public void setValidityDay(Integer validityDay) 
	{
		this.validityDay = validityDay;
	}

	public Integer getValidityDay() 
	{
		return validityDay;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelName", getLevelName())
            .append("needCount", getNeedCount())
            .append("commissionPercent", getCommissionPercent())
            .append("commissionPercentDay", getCommissionPercentDay())
            .append("billCoutDay", getBillCoutDay())
            .append("needBalance", getNeedBalance())
            .append("cashOutFee", getCashOutFee())
            .append("platformName", getPlatformName())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("url", getUrl())
            .append("perAmount", getPerAmount())
            .append("taskNum", getTaskNum())
            .append("validityDay", getValidityDay())
            .toString();
    }

	public BigDecimal getGrabbingPercent() {
		return grabbingPercent;
	}

	public void setGrabbingPercent(BigDecimal grabbingPercent) {
		this.grabbingPercent = grabbingPercent;
	}
}
